#!/usr/bin/env python2.7
# -*- conding: utf-8 -*-
# @Time : 2020/9/23 11:13
# @Author : mj
# @file : config.py
# @Project: python-script 


Redis_config = {
    'FullHost': '10.0.0.31:6379',
    'Passwd' : 'ansibleapi',
    'Host': '10.0.0.31',
    'Port': 6379
}

Env = "test"
if Env == "online":
    Redis_config['FullHost'] = "10.8.121.199:6382"
    Redis_config['Passwd'] = "ansibleapi"
    Redis_config['Host'] = "10.8.121.199"
    Redis_config['Port'] = 6382
else:
    Redis_config['FullHost'] = "10.0.0.31:6379"
    Redis_config['Passwd'] = "ansibleapi"
    Redis_config['Host'] = "10.0.0.31"
    Redis_config['Port'] =  6379

